home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970326-19970626 / 000171_news@newsmaster….columbia.edu _Tue May 6 14:05:10 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA00788
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 6 May 1997 14:05:10 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA22007
  7.     for kermit.misc@watsun; Tue, 6 May 1997 14:05:10 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: serial - network - serial connection
  12. Date: 6 May 1997 18:05:09 GMT
  13. Organization: Columbia University
  14. Lines: 81
  15. Message-ID: <5knrsl$7ml$1@apakabar.cc.columbia.edu>
  16. References: <5knqjr$q1n@gateway.dircsa.org.au>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:6995
  19.  
  20. In article <5knqjr$q1n@gateway.dircsa.org.au>,
  21. Arthur Marsh <arthur@gateway.dircsa.org.au> wrote:
  22. : Hi, I'm trying to set up a serial - network - serial connection using
  23. : C-Kermit 6.0.192 and UnixWare 1.1.2. The object is to get an 8-bit 
  24. : transparent connection that goes away when either serial connection closes,
  25. : and successfully tranfers data otherwise.
  26. : I'm trying everything on the one machine to begin with:
  27. : First serial connection (controling terminal):
  28. : Logs on, runs the following script:
  29. : NOPUSH
  30. : SET CARRIER ON 1
  31. : SET COMMAND BYTESIZE 8
  32. : SET EXIT WARNING OFF
  33. : SET QUIET ON
  34. : SET TERMINAL AUTODOWNLOAD OFF
  35. : SET TERMINAL BYTESIZE 8
  36. : SET TERMINAL CHARACTER-SET TRANSPARENT
  37. : SET TERMINAL ESCAPE DISABLED
  38. : SET TERMINAL APC OFF
  39. : SET PARITY NONE
  40. : SET NETWORK TCP/IP
  41. : SET TELNET BINARY REQUESTED
  42. : SET TELNET BUG BINARY-ME-MEANS-U-TOO ON
  43. : SET HOST LOCALHOST
  44. : CONNECT
  45. : stty -a output on the controlling terminal when using the above except
  46. : push enabled, and push'd to the shell:
  47. : ...
  48. When you push, C-Kermit resets the controlling terminal.
  49.  
  50. : A login is performed that runs the following kermit script (leaving out
  51. : error-checking):
  52. : NOPUSH
  53. : SET CARRIER ON 1
  54. : SET COMMAND BYTESIZE 8
  55. : SET EXIT WARNING OFF
  56. : SET QUIET ON
  57. : SET TERMINAL AUTODOWNLOAD OFF
  58. : SET TERMINAL BYTESIZE 8
  59. : SET TERMINAL CHARACTER-SET TRANSPARENT
  60. : SET TERMINAL ESCAPE DISABLED
  61. : SET TERMINAL APC OFF
  62. : SET PARITY NONE
  63. : set line /dev/tty2
  64. : hangup
  65. : hangup
  66. : set line /dev/tty2
  67. : SET SPEED 19200
  68. : SET FLOW RTS/CTS
  69. : pause 1
  70. : output \13
  71. : connect
  72. : clear
  73. : hangup
  74. : hangup
  75. : quit
  76. : This appears to generally work, allowing 8-bit transparent connections with
  77. : adequate flow control, but I'm open to suggestions on improving it.
  78. You don't say what you meant by "improving it" -- I assume the transparency
  79. issues have all been addressed satisfactorily; it looks like you've covered
  80. most of the bases described in "Using C-Kermit" 2nd Edition, pages 162-165
  81. ("C-Kermit in the Middle").
  82.  
  83. In earlier releases of C-Kermit, end-to-end performance through this kind of
  84. connection was pretty awful.  A lot of work has gone into speeding it up.
  85. Thus, for example, C-Kermit, when in CONNECT mode, no longer *assumes* that
  86. input is coming from the (slow) keyboard, but instead uses all sorts of
  87. buffering techniques and trickery to make this kind of connection as fast as
  88. possible -- within the limitations of its portable architecture.  Still,
  89. you're going to see some overhead that you would not see if you had a direct
  90. connection, especially during file transfer.
  91.  
  92. - Frank